package com.itfreer.cms.service.message;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.cms.entity.message.MessageBoardEntity;
import com.itfreer.cms.service.message.MessageBoardService;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 定义留言板管理服务
 */
@Component
@Path("/cms_messageboard/")
public class RestMessageBoardService  extends BaseRestService<MessageBoardEntity> {

	/**
	 * 留言板管理接口
	 */
	@Autowired
	private MessageBoardService messageBoardManage;
	
	@Override
	protected BaseService<MessageBoardEntity> getService() {
		return messageBoardManage;
	}

	@Override
	protected String getServiceName() {
		return "cms_messageboard";
	}
}
